From 5b67b14b5fb8d68bb0ab2c1db0206a10eb9fadea Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 7 Jul 2011 16:52:47 +0000 Subject: [PATCH] Reduce some duplication --- includes/installer/WebInstallerOutput.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 443cf5ab40..9eb2c2c6a5 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -113,11 +113,11 @@ class WebInstallerOutput { } /** - * URL for index.php?css=foobar + * to index.php?css=foobar for the * @return String */ private function getCssUrl( ) { - return $_SERVER['PHP_SELF'] . '?css=' . $this->getDir(); + return Html::linkedStyle( $_SERVER['PHP_SELF'] . '?css=' . $this->getDir() ); } public function useShortHeader( $use = true ) { @@ -206,7 +206,7 @@ class WebInstallerOutput { <?php $this->outputTitle(); ?> - getCssUrl() ) . "\n"; ?> + getCssUrl() . "\n"; ?> getJQuery() . "\n"; ?> @@ -260,7 +260,7 @@ class WebInstallerOutput { <?php $this->outputTitle(); ?> - getCssUrl() ) . "\n"; ?> + getCssUrl() . "\n"; ?> getJQuery(); ?> -- 2.20.1